* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei",
    sans-serif;
}

/*去除默认样式*/

ul,
ol,
li {
  list-style: none;
}

/*表格边框合并，边框距零*/

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*继承父元素的字体系列样式*/

input,
select,
textarea,
button {
  font-family: inherit;
}

/*清除浮动*/

.fl {
  float: left;
}

.fr {
  float: right;
}

.cf {
  zoom: 1;
}

.cf:after {
  content: "";
  display: table;
  clear: both;
  overflow: hidden;
}

/*a链接*/

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
}

/*去除点击高亮效果*/

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
  outline: medium none;
}

input::-moz-focus-inner {
  border: none;
  padding: 0;
}

select,
input {
  vertical-align: middle;
}

/*去掉苹果的默认UI来渲染按钮*/

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
select,
input,
textarea {
  -webkit-appearance: none;
}

/*placeholder文本颜色*/

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #ccc;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #ccc;
}

input:disabled,
textarea:disabled {
  background-color: transparent;
}

/*html5标签*/

header,
footer,
section,
article,
aside,
nav,
figure {
  display: block;
}

/*长英文字母 数字 换行*/

p {
  word-break: break-all;
  word-wrap: break-word;
}

/*去除默认样式*/

h1,
h2,
h3,
h4,
h5,
h6,
strong,
i,
em,
address,
caption,
cite,
code,
dfn,
th,
var {
  font-weight: normal;
  font-style: normal;
}

fieldset,
img {
  border: none;
  display: block;
}

/*去除长按a链接弹框*/

html,
body {
  -webkit-touch-callout: none;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#app {
  width: 100%;
  height: 100%;
}

#__nuxt {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-size: 16px;
}

.layout-banner {
  width: 100%;
  height: 300px;
  object-fit: cover; /* 或 contain、fill、none、scale-down */
  object-position: center; /* 可选，控制图片在容器内的对齐位置 */
}
